$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;
  .container {
    position: relative;
    .banner {
      width: 100%;
      position: relative;

      &::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: linear-gradient(110deg, #C9DBEC 0.46%, #C8D7EA 11.4%, rgba(225, 236, 249, 0.96) 34.4%, rgba(234, 245, 255, 0.86) 46.39%, rgba(234, 245, 255, 0.31) 61.38%, rgba(234, 245, 255, 0.00) 88.26%);
      }

      .bg {
        img {
          width: 100%;
          display: block;
          object-fit: cover;
        }
      }

      .text {
        position: absolute;
        left: 10vw;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;

        .p1 {
          color: #030303;
          font-size: $fontSize_54;
          font-weight: bold;
          display: flex;
          align-items: flex-start;

          svg {
            width: 21/$f+vw;
            display: block;
            margin: 0.7vw 0 0 0.7vw;
          }
        }

        .p2 {
          color: #464646;
          font-size: $fontSize_36;
          margin-top: 0.6vw;
          font-family: 'SourceHanSansCN-Light';
        }
      }
    }
    .main{
      margin: 6vw 0 0 0;
      .section1{
        margin: 0 10vw;
        position: relative;
        .bg{
          position: absolute;
          top: 168/$f+vw;
          left: -169/$f+vw;
          width: 644/$f+vw;
        }
        .wrap{
          display: flex;
          justify-content: space-between;
          padding: 0 0 150/$f+vw;
          .title{
            h1{
              font-size: 38/$f+vw;
              color: #000;
              margin: 0;
            }
            svg{
              width: 96/$f+vw;
              height: 5/$f+vw;
              margin: 30/$f+vw 0;
              display: block;
            }
            p{
              font-size: 22/$f+vw;
              color: #000;
            }
          }
          .r{
            width: 992/$f+vw;
            margin: 73/$f+vw 0 0 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            input{
              width: 463/$f+vw;
              padding: 0 0 20/$f+vw;
              margin: 0 0 60/$f+vw;
              border: none;
              border-bottom: 1px solid #CFCFCF;
              font-size: 22/$f+vw;
              background: transparent;
              &::placeholder{
                color: rgba(0,0,0,.7);
              }
            }
            .button{
              width: 100%;
              margin: 110/$f+vw 0 0 0;
              button{
                width: 264/$f+vw;
                height: 68/$f+vw;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 22/$f+vw;
                color: #fff;
                background: #0060B0;
                position: relative;
                border: none;
                cursor: pointer;
                &:after{
                  content: '';
                  width: 10/$f+vw;
                  height: 100%;
                  background: #00A6E5;
                  position: absolute;
                  right: 0;
                  top: 0;
                  z-index: 2;
                }
              }
            }
          }
        }
      }

      .section2{
        height: 680/$f+vw;
        display: flex;
        .left{
          width: 728/$f+vw;
          height: 100%;
          background: rgba(225, 225, 225,.2);
          display: flex;
          align-items: center;
          justify-content: center;
          .jump{
            width: 463/$f+vw;
          }
          .title{
            h1{
              font-size: 38/$f+vw;
              color: #000;
              margin: 0;
            }
            svg{
              width: 96/$f+vw;
              height: 5/$f+vw;
              margin: 30/$f+vw 0 0 0;
              display: block;
            }
          }
          .message{
            display: flex;
            border-top: 1px solid #EBEBEB;
            border-bottom: 1px solid #EBEBEB;
            padding: 37/$f+vw 0;
            justify-content: space-between;
            .list{
              display: flex;
              align-items: center;
              .border{
                width: 44/$f+vw;
                height: 44/$f+vw;
                border: 1px solid rgba(40, 41, 41,.3);
                display: flex;
                align-items: center;
                justify-content: center;
                img{
                  width: 16/$f+vw;
                  max-width: 90%;
                  max-height: 90%;
                }
              }
              .text{
                margin: 0 0 0 10/$f+vw;
                p{
                  &:first-child{
                    font-size: 16/$f+vw;
                    color: rgba(0,0,0,.5);
                    margin: 0 0 5/$f+vw;
                  }
                  &:nth-child(2) {
                    font-size: 16/$f+vw;
                    color: #000;
                  }
                }
              }
            }
          }
          .code{
            display: flex;
            margin: 40/$f+vw 0 0 0;
            .list{
              text-align: center;
              &:not(:last-child) {
                margin: 0 47/$f+vw 0 0;
              }
              img{
                width: 105/$f+vw;
              }
              p{
                margin: 5/$f+vw 0 0 0;
                font-size: 16/$f+vw;
                color: #000;
              }
            }
          }
        }
        .r{
          flex: 1;
          height: 100%;
          #container{
            width: 100%;
            height: 100%;
          }
          .amap-marker-label{
            border: none!important;
            background: none !important;
            padding: 0!important;
          }
          .mask_color{
            display: flex;
            align-items: center;
            box-sizing: border-box;
            height: 120/$f+vw;
            padding: 10/$f+vw;
            background: #0060B0;
            .img{
              width: 100/$f+vw;
              height: 100/$f+vw;
              display: flex;
              align-items: center;
              justify-content: center;
              background: #fff;
              margin: 0 20/$f+vw 0 0;
              img{
                width: 74/$f+vw;
              }
            }
            .pick{
              h1{
                font-size: 22/$f+vw;
                color: #fff;
                margin: 0 0 20/$f+vw;
              }
              p{
                color: #fff;
                font-size: 16/$f+vw;
              }
            }
          }
        }
      }
    }
  }



  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .container{
      .banner{
        .bg{
          img{
            height: 150px;
          }
        }
        .text{
          left: 5%;
          .p1{
            font-size:24px;
            svg{
              width: 10px;
            }
          }
          .p2{
            font-size: 18px;
          }
        }
      }
      .main{
        margin: 20px 0 0 0;
        .section1{
          margin: 0 5%;
          .bg{
            width: 100%;
            top: 20px;
            left: -5%;
          }
          .wrap{
            flex-direction: column;
            .title{
              h1{
                font-size: 24px;
              }
              svg{
                width: 50px;
                height: auto;
                margin: 15px 0;
              }
              p{
                font-size: 16px;
              }
            }
            .r{
              width: 100%;
              margin: 35px 0 0 0;
              input{
                width: 100%;
                font-size: 16px;
                padding: 0 0 15px;
                margin: 0 0 30px;
              }
              .button{
                margin: 0;
                button{
                  width: 190px;
                  height: 50px;
                  font-size: 14px;
                  &:after{
                    width: 10px;
                  }
                }
              }
            }
          }
        }

        .section2{
          height: auto;
          flex-direction: column;
          .left{
            width: 100%;
            padding: 30px 0;
            .jump{
              width: 90%;
              .title{
                h1{
                  font-size: 24px;
                }
                svg{
                  width: 50px;
                  height: auto;
                  margin: 15px 0;
                }
              }
              .message{
                padding: 25px 0;
                flex-direction: column;
                .list{
                  &:not(:last-child) {
                    margin: 0 0 20px;
                  }
                  .border{
                    width: 34px;
                    height: 34px;
                    margin: 0 10px 0 0;
                    img{
                      width: 12px;
                    }
                  }
                  .text{
                    p{
                      font-size: 14px!important;
                      &:nth-child(1) {
                        margin: 0 0 5px;
                      }
                    }
                  }
                }
              }
              .code{
                margin: 20px 0 0 0;
                .list{
                  &:not(:last-child) {
                    margin: 0 25px 0 0;
                  }
                  img{
                    width: 105px;
                  }
                  p{
                    font-size: 14px;
                    margin: 5px 0 0 0;
                  }
                }
              }
            }
          }
          .r{
            height: 300px;
            width: 100%;
            flex: unset;
            .mask_color{
              height: auto;
              padding: 10px;
              .img{
                width: 70px;
                height: 70px;
                margin: 0 10px 0 0;
                img{
                  width: 53px;
                }
              }
              .pick{
                h1{
                  font-size: 18px;
                  margin: 0 0 10px;
                }
                p{
                  font-size: 13px;
                }
              }
            }
          }
        }
      }
    }
  }
}